package com.wander.provider.service.impl;

import com.wander.api.service.ScheduleDubboService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Wander.Zeng
 * @create 2018-02-27 11:04
 * @desc ScheduleDubboServiceImpl
 */
@Service("scheduleDubboService")
public class ScheduleDubboServiceImpl implements ScheduleDubboService {

    private Logger logger = LoggerFactory.getLogger(ScheduleDubboServiceImpl.class);

    @Override
    public Map create(String params) {
        logger.info("定时任务创建：[params:{}]", params);
        Map map = new HashMap();
        map.put("test", params);
        return map;
    }

}
